package com.cap.bts.framework.location.service;

import java.util.List;

import com.cap.bts.framework.common.exception.AppException;
import com.cap.bts.framework.common.service.IBaseService;
import com.cap.bts.framework.location.domain.LocationInfo;

/**
 * @author: huiwu
 * @data：Oct 14, 2014
 * 
 */
public interface LocationInfoService extends IBaseService {
    /**
     * 
     * @author huiwu
     * @data：Oct 14, 2014
     * @param locationinfo
     * @return
     */
    public void addLocationInfo(LocationInfo locationinfo) throws AppException;
    /**
     * 
     * @author huiwu
     * @data：Oct 14, 2014
     * @param id
     * @return
     */
    public LocationInfo deleteLocationInfo(Long id) throws AppException;
    /**
     * 
     * @author huiwu
     * @data：Oct 14, 2014
     * @param id
     * @return
     */
    public void updateLocationInfo(LocationInfo locationinfo) throws AppException;
    /**
     * 
     * @author huiwu
     * @data：Oct 14, 2014
     * @param id
     * @return
     */
    public LocationInfo getLocationInfoById(Long id) throws AppException;
    /**
     * 
     * @author huiwu
     * @data：Oct 14, 2014
     * @param locationNo
     * @return
     */
    public List<LocationInfo> getLocationInfoByLocationNo(String locationNo) throws AppException;
    
    public List<LocationInfo> getAllLocationInfo() throws AppException;
}
